export default {
    namespaced: true,
    state: {
        isLoginde: localStorage.getItem("x-auth-token") ? true : false,

    },
    mutations: {
        chanIsloginde(state) {
            state.isLoginde = !state.isLoginde
        },
        chanIslogindeToFalse(state, payload) {
            state.isLoginde = payload
        }
    }
}